\hypertarget{classduye_1_1_logger}{\section{duye\-:\-:Logger Class Reference}
\label{classduye_1_1_logger}\index{duye\-::\-Logger@{duye\-::\-Logger}}
}


\-: system log  




{\ttfamily \#include $<$duye\-\_\-logger.\-h$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classduye_1_1_logger_ab8e6c7bdbacf6e8d3c4a653aea46613f}{typedef std\-::map$<$ const \\*
std\-::string, \hyperlink{classduye_1_1_log_module_rule}{Log\-Module\-Rule} $\ast$ $>$ {\bfseries Log\-Module\-Rule\-Map}}\label{classduye_1_1_logger_ab8e6c7bdbacf6e8d3c4a653aea46613f}

\item 
\hypertarget{classduye_1_1_logger_a45de38ceb89b3ddfd60052dd22a7ac2b}{typedef std\-::map$<$ const \\*
Log\-Level, const std\-::string $>$ {\bfseries Log\-Level\-Map}}\label{classduye_1_1_logger_a45de38ceb89b3ddfd60052dd22a7ac2b}

\item 
\hypertarget{classduye_1_1_logger_a626520fd72d259b87badf7b068295d6c}{typedef std\-::map$<$ const \\*
Print\-Format, const std\-::string $>$ {\bfseries Log\-Print\-Format\-Map}}\label{classduye_1_1_logger_a626520fd72d259b87badf7b068295d6c}

\item 
\hypertarget{classduye_1_1_logger_a7ab9a037e0f8c0b5ef8bc41ed8a5586f}{typedef std\-::map$<$ const \\*
Save\-Way, const std\-::string $>$ {\bfseries Log\-Save\-Way\-Map}}\label{classduye_1_1_logger_a7ab9a037e0f8c0b5ef8bc41ed8a5586f}

\item 
\hypertarget{classduye_1_1_logger_a79a1ff830c53c1054cfb6d5a5e011ccc}{typedef std\-::map$<$ const \\*
std\-::string, \hyperlink{classduye_1_1_log_file}{Log\-File} $\ast$ $>$ {\bfseries Log\-File\-Map}}\label{classduye_1_1_logger_a79a1ff830c53c1054cfb6d5a5e011ccc}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{classduye_1_1_logger_a21d2c75981c92d04fd511d18a9240a86}{init} (const char $\ast$file)
\begin{DoxyCompactList}\small\item\em \-: init \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_logger_a55dab386b3ef1f6c42b94ab106206a8a}{uninit} ()
\begin{DoxyCompactList}\small\item\em \-: uninit \end{DoxyCompactList}\item 
uint8 $\ast$ \hyperlink{classduye_1_1_logger_a84b79f6d5cd9fa17b3abe7ec4e287796}{error} ()
\begin{DoxyCompactList}\small\item\em \-: uninit \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_logger_a5f152ac0a988c0dd4ae17a904c29dddf}{void \hyperlink{classduye_1_1_logger_a5f152ac0a988c0dd4ae17a904c29dddf}{print\-Log} (const Log\-Level log\-Level, const int8 $\ast$module, const int8 $\ast$file, const uint32 line, const int8 $\ast$function, const int8 $\ast$args,...)}\label{classduye_1_1_logger_a5f152ac0a988c0dd4ae17a904c29dddf}

\begin{DoxyCompactList}\small\item\em \-: print log  \mbox{[}in\mbox{]} log\-Level \-: log level  \mbox{[}in\mbox{]} module \-: module name  \mbox{[}in\mbox{]} file \-: code src file full path  \mbox{[}in\mbox{]} line \-: code src file line number  \mbox{[}in\mbox{]} function \-: code src function name  \mbox{[}in\mbox{]} args \-: others args \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classduye_1_1_logger_a898adaaf45ffef2036a2de58ff126683}{static \hyperlink{classduye_1_1_logger}{Logger} \& {\bfseries instance} ()}\label{classduye_1_1_logger_a898adaaf45ffef2036a2de58ff126683}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\-: system log 

\subsection{Member Function Documentation}
\hypertarget{classduye_1_1_logger_a84b79f6d5cd9fa17b3abe7ec4e287796}{\index{duye\-::\-Logger@{duye\-::\-Logger}!error@{error}}
\index{error@{error}!duye::Logger@{duye\-::\-Logger}}
\subsubsection[{error}]{\setlength{\rightskip}{0pt plus 5cm}uint8$\ast$ duye\-::\-Logger\-::error (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_logger_a84b79f6d5cd9fa17b3abe7ec4e287796}


\-: uninit 

\begin{DoxyReturn}{Returns}
\-: error description 
\end{DoxyReturn}
\hypertarget{classduye_1_1_logger_a21d2c75981c92d04fd511d18a9240a86}{\index{duye\-::\-Logger@{duye\-::\-Logger}!init@{init}}
\index{init@{init}!duye::Logger@{duye\-::\-Logger}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Logger\-::init (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_logger_a21d2c75981c92d04fd511d18a9240a86}


\-: init 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em file} & \-: log conf file full path \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\-: true/false 
\end{DoxyReturn}
\hypertarget{classduye_1_1_logger_a55dab386b3ef1f6c42b94ab106206a8a}{\index{duye\-::\-Logger@{duye\-::\-Logger}!uninit@{uninit}}
\index{uninit@{uninit}!duye::Logger@{duye\-::\-Logger}}
\subsubsection[{uninit}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Logger\-::uninit (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_logger_a55dab386b3ef1f6c42b94ab106206a8a}


\-: uninit 

\begin{DoxyReturn}{Returns}
\-: true/false 
\end{DoxyReturn}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Z\-:/duye/src/duyebase/logger/duye\-\_\-logger.\-h\end{DoxyCompactItemize}
